package com.zhanghp.demo02;

/**
 * @author zhanghp
 * @date 2022-08-26 16:21
 */
public enum PhoneType {
    APPLE("苹果手机"),
    HUAWEI("华为手机");

    private final String TYPE;

    PhoneType(String name) {
        this.TYPE = name;
    }

    public String getTYPE() {
        return this.TYPE;
    }

    @Override
    public String toString() {
        return this.name().toLowerCase();
    }
}
